package com.healthcloud.service;

import java.util.List;

import com.healthcloud.entity.UserFamily;

/**
 * @author houxianghua
 * @since: 2016-04-18
 */
public interface UserFamilyService {

    UserFamily getById(Long id);

    List<UserFamily> getByUserId(Long userId);

    List<UserFamily> findByEntityAll(UserFamily entity);

    int save(UserFamily entity);

    int update(UserFamily entity);

    int delete(Long id);

    int deletes(Long[] ids);

    int delete(Long userId, Long patientId);
}